﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AGVController.BaseClass
{
    public enum task_status
    {
        [Description("无")]
        NONE = 0,

        [Description("等待")]
        WAITING = 1,

        [Description("运行中")]
        RUNNING = 2,

        [Description("暂停中")]
        SUSPENDED = 3,

        [Description("完成")]
        COMPLETED = 4,

        [Description("失败")]
        FAILED = 5,

        [Description("取消")]
        CANCELED = 6
    }



    public enum task_type
    {
        [Description("没有导航")]
        None=0,

        [Description("自由导航到任意点")]
        FreeNaviToAnyPoint = 1,

        [Description("自由导航到站点")]
        FreeNaviToId = 2,

        [Description("路径导航到站点")]
        NaviToId = 3,

        [Description("平动转动")]
        TranRota = 4,

        [Description("其他")]
        Other = 5
    }


    public enum reloc_status
    {
        [Description("定位失败")]
        FAILED = 0,

        [Description("定位正确")]
        SUCCESS = 1,

        [Description("正在重定位")]
        RELOCING = 2,

        [Description("定位完成")]
        COMPLETED = 3

    }
}
